<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>3课堂测验</title>
  <style>
     .nav ul li a {
      color: red;
    }
  </style>
</head>

<body>

  <div class="nav">
    <ul>
      <li><a href="#">百度</a></li>
      <li><a href="#">百度</a></li>
    </ul>

  </div>
</body>

</html>